123456789101112131415161718192021222324252627282930313233 |
- TESTDIR=../
- include $(TESTDIR)/Rules.mak
- TARGETS=signal signal_glibc
- all: $(TARGETS)
- signal: signal.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TESTCC)
- -@ echo "-------"
- -@ echo " "
- -@ echo "Compiling vs uClibc: "
- -@ echo " "
- $(TESTCC) $(CFLAGS) -c $< -o $@.o
- $(TESTCC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
- $(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
- -@ echo " "
- signal_glibc: signal.c Makefile
- -@ echo "-------"
- -@ echo " "
- -@ echo "Compiling vs GNU libc: "
- -@ echo " "
- $(CC) $(CFLAGS) -c $< -o $@.o
- $(CC) $(LDFLAGS) $@.o -o $@
- $(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
- -@ echo " "
- clean:
- rm -f *.[oa] *~ core $(TARGETS)
|