lazix

makefile

Nov 21st, 2020 (edited)
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.36 KB | None | 0 0
  1. # makefile for my compiler, WIP because the compiler is not done
  2. CC=gcc
  3. CFLAGS=-o make1.o -g -Ofast
  4. CFLAGS2=-o make2.o -std=c++17 -c -lstdc++ -g -L$(DIR) -Ofast -D__STDC_LIMIT_MACROS
  5. CFLAGS3=-o make make1.o make2.o
  6. OBJ=make1.o make2.o
  7. HEADER=lexer.h parser.h
  8. %.o: %.cpp $.c $(HEADER)
  9.         $(CC) -c -o $@ $<$(CFLAGS)
  10. make: $(CC) gst_work.c $(CFLAGS)
  11.  
Add Comment
Please, Sign In to add comment