Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3657db0

Browse files
acx0chazmcgarvey
authored andcommitted
add clean target to Makefile for convenience
- distclean removes backup source file received from TC Arena applet
1 parent 6787bf8 commit 3657db0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎src/com/dogcows/resources/C++Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,11 @@ driver.o: $CLASSNAME$.o
1515
driver: driver.o
1616
$(CXX) $(CXXFLAGS) $< -o $@ $(LDFLAGS) $(LDLIBS)
1717

18-
.PHONY: all run test
18+
clean:
19+
rm -f $CLASSNAME$.o driver.o driver
20+
21+
distclean: clean
22+
rm -f $CLASSNAME$
23+
24+
.PHONY: all run test clean distclean
1925

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /