Advertisement
FlyFar

Makefile

May 17th, 2024
538
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.38 KB | Cybersecurity | 0 0
  1. #
  2. # SInAR Makefile - Copyright as per normal in LICENSE
  3. # WOO HOO!!! SUN finally give us a FREE compiler by default!
  4. CC=gcc
  5. #CFLAGS= -Wall -m64 -D_KERNEL -DSVR4 -DSOL2 -c
  6. CFLAGS= -Wall -D_KERNEL -DSVR4 -DSOL2 -D__i386 -c
  7. #LFLAGS= -64 -r
  8. LFLAGS= -r
  9. all: sinar
  10.      
  11. clean:
  12.     rm -f *.o sinar *.*~
  13.    
  14. sinar:
  15.     $(CC) $(CFLAGS) sinar.c -o sinar.o
  16.     ld $(LFLAGS) sinar.o -o sinar
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement