Update sk1/Makefile
This commit is contained in:
		
							parent
							
								
									9f28b757e5
								
							
						
					
					
						commit
						f0122c07a0
					
				
							
								
								
									
										11
									
								
								sk1/Makefile
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								sk1/Makefile
									
									
									
									
									
								
							| @ -1,11 +1,12 @@ | ||||
| # Makefile
 | ||||
| CC = gcc | ||||
| CFLAGS = -Wall -Wextra -O2 | ||||
| OBJ = main.o compressor.o | ||||
| TARGET = compressor | ||||
| OBJS = main.o compressor.o | ||||
| 
 | ||||
| $(TARGET): $(OBJ) | ||||
| 	$(CC) $(OBJ) -o $(TARGET) | ||||
| all: $(TARGET) | ||||
| 
 | ||||
| $(TARGET): $(OBJS) | ||||
| 	$(CC) $(CFLAGS) -o $@ $(OBJS) | ||||
| 
 | ||||
| main.o: main.c compressor.h | ||||
| 	$(CC) $(CFLAGS) -c main.c | ||||
| @ -14,4 +15,4 @@ compressor.o: compressor.c compressor.h | ||||
| 	$(CC) $(CFLAGS) -c compressor.c | ||||
| 
 | ||||
| clean: | ||||
| 	rm -f $(OBJ) $(TARGET) | ||||
| 	rm -f $(OBJS) $(TARGET) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user