Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.solo 890B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # Makefile for miniglx demo programs
  2. TOP = ../..
  3. default: linux-solo
  4. LIBS = $(APP_LIB_DEPS)
  5. SOURCES = miniglxtest.c \
  6. miniglxsample.c \
  7. sample_server.c \
  8. sample_server2.c \
  9. manytex.c \
  10. texline.c
  11. OBJECTS = $(SOURCES:.c=.o)
  12. PROGS = $(SOURCES:%.c=%)
  13. INCLUDES = \
  14. -I. \
  15. -I$(TOP)/include
  16. ##### RULES #####
  17. .SUFFIXES:
  18. .SUFFIXES: .c
  19. .c:
  20. $(CC) $(INCLUDES) $(CFLAGS) $< $(LIBS) -o $@
  21. .c.o:
  22. $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
  23. .S.o:
  24. $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
  25. ##### TARGETS #####
  26. targets: depend $(PROGS)
  27. clean:
  28. rm -f $(PROGS)
  29. rm -f *.o
  30. # Run 'make -f Makefile.solo dep' to update the dependencies if you change
  31. # what's included by any source file.
  32. depend: $(SOURCES)
  33. makedepend -fdepend -Y $(INCLUDES) \
  34. $(SOURCES)
  35. # Emacs tags
  36. tags:
  37. etags `find . -name \*.[ch]` `find ../include`
  38. include $(TOP)/Make-config
  39. include depend