mirror of
https://github.com/troglobit/libite.git
synced 2026-10-24 11:44:37 +00:00
Make libite standalone
Add basic .gitignore, cleanup inherited Makefile from Finit and add a small rules.mk from libuEv. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
1758f9a847
commit
22a79ee947
3 files changed
+77
-17
No files matched your search
@@ -0,0 +1,9 @@
|
||||
# Pretty printing and GCC -M for auto dep files
|
||||
%.o: %.c
|
||||
@printf " CC $(subst $(ROOTDIR)/,,$(shell pwd)/)$@\n"
|
||||
@$(CC) $(CFLAGS) $(CPPFLAGS) -c -MMD -MP -o $@ $<
|
||||
|
||||
%: %.o
|
||||
@printf " LINK $(subst $(ROOTDIR)/,,$(shell pwd)/)$@\n"
|
||||
@$(CC) $(CFLAGS) $(LDFLAGS) -Wl,-Map,$@.map -o $@ $^ $(LDLIBS$(LDLIBS-$(@)))
|
||||
|
||||
Reference in new issue
Block a user