mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Base: Move "js" and "little" HackStudio projects into ~/Source/
This commit is contained in:
17
Base/home/anon/Source/little/Makefile
Normal file
17
Base/home/anon/Source/little/Makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
PROGRAM = little
|
||||
OBJS = main.o
|
||||
CXXFLAGS = -g
|
||||
|
||||
all: $(PROGRAM)
|
||||
|
||||
$(PROGRAM): $(OBJS)
|
||||
$(CXX) -o $@ $(OBJS)
|
||||
|
||||
%.o: %.cpp
|
||||
$(CXX) $(CXXFLAGS) -o $@ -c $<
|
||||
|
||||
clean:
|
||||
rm $(OBJS) $(PROGRAM)
|
||||
|
||||
run:
|
||||
./$(PROGRAM)
|
||||
Reference in New Issue
Block a user