diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-15 13:59:34 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-15 13:59:34 +0000 |
commit | 8e736672475377d63007b26b58b7a5c6af335e40 (patch) | |
tree | 333a577ad77ad9fdb9833016589ab9744ab86d06 /Makefile | |
download | posixtz-8e736672475377d63007b26b58b7a5c6af335e40.tar.bz2 posixtz-8e736672475377d63007b26b58b7a5c6af335e40.tar.xz |
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4370b38 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +LUALIBS := -llua + +TARGETS := posixtz posixtz.so +all: $(TARGETS) + +clean: + rm -f $(TARGETS) + +posixtz: main.c posixtz.c + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ + +posixtz.so: lua-posixtz.c posixtz.c + $(CC) -fPIC $(CFLAGS) $(LDFLAGS) $(LUALIBS) -shared -o $@ $^ + |