marignotti/makefile.mk

42 lines
1.0 KiB
Makefile
Raw Normal View History

2012-04-13 00:01:00 +00:00
CFLAGS += $(DEFINES) -v -w
2012-05-06 21:41:32 +00:00
OBJS = main.o table.o driver.o s16debug.o \
mattach.o mconnect.o mread.o mwrite.o mdetach.o \
2012-05-08 02:41:31 +00:00
mioctl.o mshutdown.o mgetsockopt.o msetsockopt.o \
2012-05-15 01:44:13 +00:00
mgetsockname.o mgetpeername.o mselect.o maccept.o \
mbind.o mlisten.o
2012-05-05 05:08:27 +00:00
2012-04-13 00:01:00 +00:00
TARGET = marignotti
$(TARGET): $(OBJS)
$(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@
2012-05-05 05:08:27 +00:00
s16debug.o: s16debug.c s16debug.h
main.o: main.c marignotti.h
table.o: table.c marignotti.h
driver.o: driver.c marignotti.h net.h
mread.o: mread.c marignotti.h
mwrite.o: mwrite.c marignotti.h
mattach.o: mattach.c marignotti.h
mconnect.o: mconnect.c marignotti.h
mdetach.o: mdetach.c marignotti.h
2012-05-06 21:41:32 +00:00
msetsockopt.o: msetsockopt.c marignotti.h
mgetsockopt.o: mgetsockopt.c marignotti.h
mshutdown.o: mshutdown.c marignotti.h
mioctl.o: mioctl.c marignotti.h
2012-05-08 02:41:31 +00:00
mgetsockname.o: mgetsockname.c marignotti.h
mselect.o: mselect.c marignotti.h
2012-05-15 01:44:13 +00:00
mgetpeername.o: mgetpeername.c marignotti.h
mbind.o: mbind.c marignotti.h
2012-05-13 23:46:49 +00:00
mlisten.o: mlisten.c marignotti.h
maccept.o: maccept.c marignotti.h
2012-04-13 00:01:00 +00:00
clean:
$(RM) *.o *.root
clobber: clean
$(RM) $(TARGET)