ddos/Makefile
author Markus Bröker <mbroeker@largo.dyndns.tv>
Thu, 28 May 2009 17:41:18 +0200
changeset 97 f883331a1bf2
parent 68 d549894aa6a9
child 157 e8fbd0653fda
permissions -rw-r--r--
alpha_beta ui: removed a redundant line The original print routine was from an open book by galileo computing and the redundant line was introduced there. 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)