Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (14 sloc) 239 Bytes
CXX=g++
CXXFLAGS=-std=c++0x -g
.PHONY: all default test
.SILENT:
all: default
default: test
test: test.o listee.h
$(CXX) $^ -o $@
%.o: %.c
$(CXX) -c $@ $< $(CXXFLAGS)
%.h :
$(CXX) -c $@ $(CXXFLAGS)
clean:
rm -f *.o test *.gch