Makefile 419 B

12345678910111213141516171819202122
  1. TESTDIR=../
  2. include $(TESTDIR)/Rules.mak
  3. TARGETS=assert
  4. all: $(TARGETS)
  5. assert: assert.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TESTCC)
  6. -@ echo "-------"
  7. -@ echo " "
  8. -@ echo "Compiling vs uClibc: "
  9. -@ echo " "
  10. $(TESTCC) $(TEST_CFLAGS) -c $< -o $@.o
  11. $(TESTCC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
  12. $(STRIPTOOL) -x -R .note -R .comment $@
  13. -./$@
  14. -@ echo " "
  15. clean:
  16. rm -f *.[oa] *~ core $(TARGETS)