You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
496 B

Index: Makefile
--- Makefile.orig 2014-04-13 14:36:18.362309000 +0200
+++ Makefile 2014-04-13 14:37:02.277739986 +0200
@@ -14,13 +14,10 @@
ALL : $(PROGRAM) library
-$(LEG): $(PEGDIR)
- CC=gcc make -C $(PEGDIR)
-
%.o : %.c markdown_peg.h
$(CC) -c `$(PKG_CONFIG) --cflags glib-2.0` $(CFLAGS) -o $@ $<
-$(PROGRAM) : markdown.c $(OBJS)
+$(PROGRAM) : markdown.o $(OBJS)
$(CC) `$(PKG_CONFIG) --cflags glib-2.0` $(CFLAGS) -o $@ $< $(OBJS) `$(PKG_CONFIG) --libs glib-2.0`
library: $(OBJS)