|
Revision 20, 1.2 kB
(checked in by sven, 4 years ago)
|
|
Cleaned up (No object and output binaries in the SVN). Furthermore it compiles
now ("make all"). There are still bugs. See /TODO.txt (coming soon)
-- Sven @ workstation
|
| Line | |
|---|
| 1 | CAIRO_CFLAGS=`pkg-config --cflags cairo` |
|---|
| 2 | GTKMM_CFLAGS=`pkg-config --cflags gtkmm-2.4` |
|---|
| 3 | CAIRO_LIBS=`pkg-config --libs cairo` |
|---|
| 4 | GTKMM_LIBS=`pkg-config --libs gtkmm-2.4` |
|---|
| 5 | CPP=g++ |
|---|
| 6 | CFLAGS=-Wall |
|---|
| 7 | |
|---|
| 8 | gtk: gtk.cc gtkpapertape.o gtkpapertapeview.o gtkpapertapefile.o gtkpapertapecolor.o gtkpapertapezoom.o lochstreifen.o gtkpapertapeexporter.o |
|---|
| 9 | $(CPP) $(GTKMM_CFLAGS) $^ -o $@ $(GTKMM_LIBS) |
|---|
| 10 | |
|---|
| 11 | cli: cli.c lochstreifen.o |
|---|
| 12 | $(CC) $(CAIRO_CFLAGS) $^ $(CAIRO_LIBS) -o $@ |
|---|
| 13 | |
|---|
| 14 | gtkpapertape.o: gtkpapertape.cc gtkpapertape.h |
|---|
| 15 | $(CPP) $(CFLAGS) $(GTKMM_CFLAGS) -c gtkpapertape.cc |
|---|
| 16 | |
|---|
| 17 | gtkpapertapeview.o: gtkpapertapeview.cc gtkpapertapeview.h |
|---|
| 18 | $(CPP) $(CFLAGS) $(GTKMM_CFLAGS) -c gtkpapertapeview.cc |
|---|
| 19 | |
|---|
| 20 | gtkpapertapefile.o: gtkpapertapefile.cc gtkpapertapefile.h |
|---|
| 21 | $(CPP) $(CFLAGS) $(GTKMM_CFLAGS) -c gtkpapertapefile.cc |
|---|
| 22 | |
|---|
| 23 | gtkpapertapeexporter.o: gtkpapertapeexporter.cc gtkpapertapeexporter.h |
|---|
| 24 | $(CPP) $(CFLAGS) $(GTKMM_CFLAGS) -c gtkpapertapeexporter.cc |
|---|
| 25 | |
|---|
| 26 | gtkpapertapecolor.o: gtkpapertapecolor.cc gtkpapertapecolor.h |
|---|
| 27 | $(CPP) $(CFLAGS) $(GTKMM_CFLAGS) -c gtkpapertapecolor.cc |
|---|
| 28 | |
|---|
| 29 | gtkpapertapezoom.o: gtkpapertapezoom.cc gtkpapertapezoom.h |
|---|
| 30 | $(CPP) $(CFLAGS) $(GTKMM_CFLAGS) -c gtkpapertapezoom.cc |
|---|
| 31 | |
|---|
| 32 | lochstreifen.o: lochstreifen.c lochstreifen.h |
|---|
| 33 | $(CC) $(CFLAGS) $(CAIRO_CFLAGS) -c lochstreifen.c |
|---|
| 34 | |
|---|
| 35 | clean: |
|---|
| 36 | rm -v *.o cli gtk |
|---|