#Init vars
CC=gcc
OBJS=tags.o options.o readcfg.o reformat.o steal.o build.o help.o open.o \
	from.o addheaders.o copy.o rand.o checktags.o linux_getch.o yesno.o \
	move.o addtag.o replace.o addsig.o fixedsig.o

CFLAGS=-Wall -O2 -pedantic
#Uncomment below for debugging and comment above.
#CFLAGS=-Wall -g -DDEBUG -DDEBUG_CFG -pedantic
#This is a little extreme even for me -DSTUPID_DEBUG
#EFENCE=-lefence

#What shall we make...
tags:	$(OBJS)
	$(CC) $(CFLAGS) $(OBJS) $(EFENCE) -o ../$@

clean: 
	cd .. && make clean
