Makefile 411 B

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