Semester's final Project assignment for "Operating Systems" course at AUTH University
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.

21 lines
344 B

7 years ago
TARGET = apostolofShell
CC = gcc
CFLAGS = -Wall -O3 -I.
OBJ = apostolofShellMain.o apostolofShellFunctions.o
DEPS = apostolofShellFunctions.h
.PHONY: default all clean
default: $(TARGET)
all: default
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
.PRECIOUS: $(TARGET) $(OBJ)
$(TARGET): $(OBJ)
$(CC) -o $@ $^ $(CFLAGS)
clean:
$(RM) *.o *~