mirror of
https://github.com/ksherlock/marignotti.git
synced 2024-12-13 01:30:43 +00:00
35 lines
770 B
Makefile
35 lines
770 B
Makefile
CFLAGS += $(DEFINES) -v -w
|
|
OBJS = main.o table.o driver.o s16debug.o \
|
|
mattach.o mconnect.o mread.o mwrite.o mdetach.o \
|
|
mioctl.o mshutdown.o mgetsockopt.o msetsockopt.o
|
|
|
|
TARGET = marignotti
|
|
|
|
$(TARGET): $(OBJS)
|
|
$(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@
|
|
|
|
|
|
|
|
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
|
|
msetsockopt.o: msetsockopt.c marignotti.h
|
|
mgetsockopt.o: mgetsockopt.c marignotti.h
|
|
mshutdown.o: mshutdown.c marignotti.h
|
|
mioctl.o: mioctl.c marignotti.h
|
|
|
|
|
|
clean:
|
|
$(RM) *.o *.root
|
|
|
|
clobber: clean
|
|
$(RM) $(TARGET)
|
|
|