summaryrefslogtreecommitdiffstats
path: root/feed/Makefile
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-11-23 18:35:19 +0000
committerLennart Poettering <lennart@poettering.net>2005-11-23 18:35:19 +0000
commit3971bc230008a576b9afa9eda47147d88a584776 (patch)
tree81ee529d872606b7279c9631b66eb133e0134ab5 /feed/Makefile
parent3a24de286d8bb6a6fa5c802ad9587e15550f0801 (diff)
add proper locking for archives
git-svn-id: file:///home/lennart/svn/public/sse/trunk@44 5fbabb74-0606-0410-a5e4-b5cc6a42724e
Diffstat (limited to 'feed/Makefile')
-rw-r--r--feed/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/feed/Makefile b/feed/Makefile
index b23efe3..3bf3493 100644
--- a/feed/Makefile
+++ b/feed/Makefile
@@ -2,7 +2,8 @@ CFLAGS=-Wall -W -O3 -pipe
#CFLAGS=-Wextra -g -O0 -pipe
LIBS=-lfl
-PYO=sse_config.pyo sse_debian.pyo sse_feed.pyo sse_grab.pyo sse_db.pyo sse_defs.pyo sse_fm.pyo sse_tar.pyo
+PYTHON_SOURCES=$(wildcard *.py)
+PYTHON_OBJECTS=$(PYTHON_SOURCES:.py=.pyo)
%.yy.c: %.l
flex -o $@ $^
@@ -10,7 +11,7 @@ PYO=sse_config.pyo sse_debian.pyo sse_feed.pyo sse_grab.pyo sse_db.pyo sse_defs.
%.pyo: %.py
./compile $<
-all: sse_lex_c $(PYO)
+all: sse_lex_c $(PYTHON_OBJECTS)
sse_lex_c: sse_lex_c.yy.o
$(CC) -o $@ $^ $(LIBS)