feat: lab3 done
This commit is contained in:
12
OSs/lab3/level-2/Makefile
Normal file
12
OSs/lab3/level-2/Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
targets = main
|
||||
all: $(targets)
|
||||
|
||||
main: main.o buff.o
|
||||
$(CC) -o $@ $^ $(CFLAGS)
|
||||
|
||||
%.o: %.c
|
||||
$(CC) -c $^ -o $@ $(CFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f $(targets)
|
||||
rm -f *.o
|
||||
Reference in New Issue
Block a user