add makefile

This commit is contained in:
Kelvin Sherlock 2012-04-12 20:01:00 -04:00
parent cc79ed4ede
commit ba336246ec
1 changed files with 18 additions and 0 deletions

18
makefile.mk Normal file
View File

@ -0,0 +1,18 @@
CFLAGS += $(DEFINES) -v -w
OBJS = marignotti.o
TARGET = marignotti
$(TARGET): $(OBJS)
$(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@
marignotti.o: marignotti.c net.h
pull:
gopher gopher://192.168.1.117:7070/0/marignotti.c > marignotti.c
clean:
$(RM) *.o *.root
clobber: clean
$(RM) $(TARGET)