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

all: $(BIN) 

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

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

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

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