CPP = gcc 
OBJ = testmain.o twowayslist.o
LINKOBJ = testmain.o twowayslist.o 
BIN = twl 
CXXFLAGS = -std=c99 -ansi -pedantic -Wall 
RM = rm -f 

all: $(BIN) 

clean:
	${RM} $(OBJ) $(BIN) 

$(BIN): $(OBJ)
	$(CPP) $(LINKOBJ) -o $(BIN) $(LIBS) 

twowayslist.o: twowayslist.c
	$(CPP) -c twowayslist.c -o twowayslist.o $(CXXFLAGS) 

testmain.o: testmain.c
	$(CPP) -c testmain.c -o testmain.o $(CXXFLAGS)
