2007-04-05 21:23:15 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
all: ubpar
|
|
|
|
|
|
|
|
crc32.c:
|
|
|
|
ln -s ../lib_generic/crc32.c ./
|
|
|
|
|
|
|
|
%.o: %.c
|
2007-06-14 21:46:24 +08:00
|
|
|
$(CC) -I ../include $(CFLAGS) $(EXTRA_FLAGS) -DLAN_IP=$(LAN_IP) -DLAN_SERVERIP=$(LAN_SERVERIP) -c -o $@ $^
|
2007-04-05 21:23:15 +08:00
|
|
|
|
|
|
|
ubpar: ubpar.o crc32.o
|
|
|
|
$(CC) -o $@ $^
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o ubpar
|