aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/Makefile')
-rw-r--r--calendar/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/calendar/Makefile b/calendar/Makefile
new file mode 100644
index 0000000000..39c4753d89
--- /dev/null
+++ b/calendar/Makefile
@@ -0,0 +1,20 @@
+CC = gcc
+PROF = -g
+C_FLAGS = -Wall $(PROF) -L/usr/local/include -DDEBUG -I../apps -I../lib
+L_FLAGS = $(PROF) -L/usr/X11R6/lib -L/usr/local/lib
+L_POSTFLAGS = -lgnomeui -lgnome -lgtk -lgdk -lglib -lXext -lX11 -lm
+PROGNAME = gncal
+
+O_FILES = gncal.o menus.o calcs.o
+
+$(PROGNAME): $(O_FILES)
+ rm -f $(PROGNAME)
+ $(CC) $(L_FLAGS) -o $(PROGNAME) $(O_FILES) $(L_POSTFLAGS)
+
+.c.o:
+ $(CC) -c $(C_FLAGS) $<
+
+clean:
+ rm -f core *.o $(PROGNAME) nohup.out
+distclean: clean
+ rm -f *~