home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 Mobile / Chip_Mobile_2001.iso / palm / tools / hotsyncn / hotsyncn.exe / Makefile < prev   
Encoding:
Makefile  |  2000-11-20  |  573 b   |  33 lines

  1. OBJS      = hotsyncname.o
  2. EXEC      = hotsyncname
  3. CCFLAGS   = -O2 -Wall -palmos3.5
  4. DEBUG     = -g
  5.  
  6.  
  7. # build types
  8.  
  9. default: $(EXEC) $(EXEC).def bin.stamp
  10.     build-prc $(EXEC).def $(EXEC) *.bin 
  11.  
  12. # compilation requirements
  13. $(EXEC): $(OBJS)
  14.     m68k-palmos-gcc $(OBJS) $(CCFLAGS) $(DEBUG) $(SHAREWARE) -o $(EXEC)
  15.  
  16. bin.stamp: $(EXEC).rcp
  17.     pilrc -q $(EXEC).rcp
  18.  
  19. # Compilation rules
  20. .SUFFIXES: .c .o
  21.  
  22. .c.o:
  23.     m68k-palmos-gcc -c $(CCFLAGS) $(DEBUG) $(SHAREWARE) $<
  24.  
  25.  
  26. # Clean-up functions
  27. clean:
  28.     rm -f *.[oa] *.bin *.grc *~ $(EXEC)
  29.  
  30. distclean:
  31.     rm -f *.[oa] *.bin *.[pg]rc *~ $(EXEC)
  32.  
  33.