All pastes #938074 Raw Edit

makefile

public text v1 · immutable
·published 2008-03-11 11:29 UTC
rendered paste body
RM=rm
GCC=gcc -g -ggdb -Wall
CFLAGS=`pkg-config --cflags ecore` -D_GNU_SOURCE
LDFLAGS=`pkg-config --libs ecore`
OBJS=main.o
INCS=
APP=feed_parser

all: $(APP)

%.o: %.c $(INCS)
	$(GCC) -c -o $@ $< $(CFLAGS)
	
$(APP): $(OBJS)
	$(GCC) -o $@ $^ $(LDFLAGS)

clean:
	$(RM) $(OBJS) $(APP)
	
.PHONY: clean