ddos/Makefile
author Markus Bröker <mbroeker@largo.dyndns.tv>
Thu, 16 Apr 2009 12:51:15 +0200
changeset 78 e87e0fe4a7db
parent 68 d549894aa6a9
child 157 e8fbd0653fda
permissions -rw-r--r--
clplaner: Avoid a segfault on Wed May 27 20:00 CET 2009 * The IndexShaker would crash on the last two teams - fixed committer: Markus Bröker <mbroeker@largo.homelinux.org>

       CC = gcc -g -ggdb
   CFLAGS = -Wall -O2 -Iinclude -ansi
     NASM = nasm -f elf -Iinclude/

  TARGET  = client
  TARGET += server

SOBJECTS  = server.o
SOBJECTS += set_proc_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)