CC=gcc 
CFLAGS=-O2 -Wall

COMPILE=$(CC) $(CFLAGS)

PROGS=setdmzholes setportfw setxtaccess restartdhcp restartsnort \
	restartsquid smoothiedeath smoothierebirth usbadslfw \
	installpackage ipsecctrl iowrap

all : $(PROGS)

clean : 
	-rm -f $(PROGS) *.o core

######

% : %.c
	$(COMPILE) $< -o $@

setdmzholes : setdmzholes.c
setportfw : setportfw.c
setxtaccess : setxtaccess.c
restartdhcp : restartdhcp.c
restartsnort : restartsnort.c
restartsquid : restartsquid.c
smoothiedeath : smoothiedeath.c
smoothierebirth : smoothierebirth.c