author | Markus Bröker <mbroeker@largo.dyndns.tv> |
Sat, 13 Dec 2008 17:57:40 +0100 | |
changeset 1 | 6b13c229a60f |
parent 0 | af501b0c1716 |
child 66 | 2b4f786d9073 |
permissions | -rw-r--r-- |
CC=gcc -g -ggdb CFLAGS=-Wall -O2 -Iinclude -ansi NASM=nasm -f elf -Iinclude/ TARGET=client server SOBJECTS=server.o set_limit.o COBJECTS=client.o .SUFFIXES: .c .asm .c.o: @echo Compiling $< ... @$(CC) -c $(CFLAGS) -o $@ $< all: $(TARGET) server: $(SOBJECTS) @echo Linking $< ... @$(CC) $(CFLAGS) -o $@ $(SOBJECTS) client: $(COBJECTS) @echo Linking $< ... @$(CC) $(CFLAGS) -o $@ $(COBJECTS) .PHONY: clean uninstall clean: rm -f *.o *~ rm -f $(TARGET)