Files
koreader/popen-noshell/Makefile
NiLuJe ead342926c Use popen_noshell as a static lib instead of an object file. Use CHOST
instead of HOST (and allow it to be set from the env), use $(MAKE)
instead of make to allow using the jobserver properly, and remove the
dash from commands where we do care about the return code (or inhibit
errors the usual way: rm -f instead of -rm)

Conflicts:

	Makefile
2012-10-02 20:52:49 -04:00

16 lines
218 B
Makefile

SRCS=popen_noshell.c
OBJS:=$(SRCS:%.c=%.o)
%.o: %.c
$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $<
all: libpopen_noshell.a
libpopen_noshell.a: $(OBJS)
$(AR) rcs $@ $(OBJS)
clean:
rm -rf *.o
rm -rf libpopen_noshell.a