mirror of https://github.com/hak5/openwrt.git
16 lines
190 B
Makefile
16 lines
190 B
Makefile
|
#
|
||
|
|
||
|
all: ubpar
|
||
|
|
||
|
crc32.c:
|
||
|
ln -s ../lib_generic/crc32.c ./
|
||
|
|
||
|
%.o: %.c
|
||
|
$(CC) -I ../include $(CFLAGS) $(EXTRA_FLAGS) -c -o $@ $^
|
||
|
|
||
|
ubpar: ubpar.o crc32.o
|
||
|
$(CC) -o $@ $^
|
||
|
|
||
|
clean:
|
||
|
rm -f *.o ubpar
|