[packages] utils: add a simple event device test program

git-svn-id: svn://svn.openwrt.org/openwrt/packages@10764 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2008-04-07 18:36:30 +00:00
parent f233b71c01
commit f0760916ee
3 changed files with 365 additions and 0 deletions

View File

@ -0,0 +1,17 @@
#
# Copyright (C) 2008 OpenWrt.org
#
# This is free software, licensed under GNU General Public Licese v2.
# See /LICENSE for more information.
#
all: event_test
%.o: %.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $^
event_test: evtest.o
$(CC) -o $@ $^
clean:
rm -f *.o event_test