mirror of
				https://github.com/eledio-devices/thirdparty-tinyexpr.git
				synced 2025-10-31 00:32:38 +01:00 
			
		
		
		
	add repl-readline target
This commit is contained in:
		
							
								
								
									
										6
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								Makefile
									
									
									
									
									
								
							| @@ -16,6 +16,9 @@ smoke_pr: smoke.c tinyexpr.c | ||||
| 	./$@ | ||||
|  | ||||
| repl: repl.o tinyexpr.o | ||||
| 	$(CC) $(CCFLAGS) -o $@ $^ $(LFLAGS) | ||||
|  | ||||
| repl-readline: repl-readline.o tinyexpr.o | ||||
| 	$(CC) $(CCFLAGS) -o $@ $^ $(LFLAGS) -lreadline | ||||
|  | ||||
| bench: benchmark.o tinyexpr.o | ||||
| @@ -30,6 +33,9 @@ example2: example2.o tinyexpr.o | ||||
| example3: example3.o tinyexpr.o | ||||
| 	$(CC) $(CCFLAGS) -o $@ $^ $(LFLAGS) | ||||
|  | ||||
| repl-readline.o: repl.c | ||||
| 	$(CC) -c -DUSE_READLINE $(CCFLAGS) $< -o $@ | ||||
|  | ||||
| .c.o: | ||||
| 	$(CC) -c $(CCFLAGS) $< -o $@ | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user