summaryrefslogtreecommitdiff
path: root/Makefile
blob: ac072b4d275cc7524c8781937316220d87ca9f6e (plain)
    1 out = noteless
    2 libs = src/lib/
    3 obj = obj/
    4 
    5 
    6 all:
    7 	if [[ ! -d obj ]]; then mkdir obj; fi
    8 	g++ $(debug) -c $(libs)path.c -o $(obj)path.o
    9 	g++ $(debug) -c $(libs)config.c -o $(obj)config.o
   10 	g++ $(debug) -c $(libs)note.c -o $(obj)note.o
   11 	g++ $(debug) -c $(libs)note_list.c -o $(obj)note_list.o
   12 	g++ $(debug) src/main.c $(obj)*.o -o $(out)
   13 
   14 debug:
   15 	make all debug="-g"
   16 
   17 clean:
   18 	rm -rvf $(obj)*.o

Generated by cgit